package com.lvbey.www;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
public class SpringbootStudyApplication {

    private static String port;

    @Value("${server.port}")
    public void setPort(String port){
        SpringbootStudyApplication.port = port;
    }


    public static void main(String[] args) {
        SpringApplication.run(SpringbootStudyApplication.class, args);
    }

}
